#ifndef FILESETWIDGET_H
#define FILESETWIDGET_H

#include <QWidget>
#include <QMouseEvent>

namespace Ui {
class FileSetWidget;
}

class FileSetWidget : public QWidget
{
    Q_OBJECT

public:
    explicit FileSetWidget(QWidget *parent = 0);
    ~FileSetWidget();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_confirm_clicked();

    void on_login_clicked();

private:
    Ui::FileSetWidget *ui;
    QPoint offset;

protected:
    void mousePressEvent(QMouseEvent * event);
    void mouseMoveEvent(QMouseEvent * event);
    void mouseReleaseEvent(QMouseEvent * event);

signals:
    void locationPath(QString path);
    void FTPConfirm(QString host,int port,QString userName,QString password,QString path);
};

#endif // FILESETWIDGET_H
